export function calcEditorDropdownWidth(content: any, dropdownList: any) {
    const width = content.scrollWidth;
    if (width < 700) {
        return 'itmeWidthseven';
    } else {
        if (dropdownList) {
            dropdownList.setAttribute('style', `max-width:${width}px`);
        }
        return ''
    }
}